package com.lzx.applib.mvp;

import com.lzx.applib.okhttp.IBaseServiceManager;

/**
 * Created by Administrator on 17/07/23.
 */

public class BaseModel<S> implements IBaseModel {

    public S serviceManager;

    public BaseModel(S serviceManager) {
        this.serviceManager = serviceManager;
    }

    @Override
    public void onDestroy() {
        if (serviceManager != null) {
            serviceManager = null;
        }
    }
}
